package com.nebula.salary.common.exception;

import com.nebula.salary.common.result.ResponseCode;

/**
 * 错误异常
 *
 * @author codex
 * @since 2022-01-31
 */
public class ErrorException extends CustomException{
    private static final long serialVersionUID = 7641692213832210385L;
    
    public ErrorException(String message) {
        super(ResponseCode.ERROR.getCode(), message);
    }
}
